﻿<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="Textures.lua" />
  <Frame name="AOSSControlsTextures" inherits="AOSSPanelTemplate">
    <Size>
      <AbsDimension x="400" y="400"/>
    </Size>
    <Anchors>
      <Anchor point="TOPLEFT" />
    </Anchors>
    <Frames>
      <SimpleHTML name="TexturesSimpleHTML" inherits="ControlsSimpleHTMLTemplate" file="Interface\AddOns\AddOnStudioSamples\Controls\Textures.html" />
      <CheckButton name="MirroredCheckButton" inherits="UICheckButtonTemplate" checked="false" >
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="5" y="-616" />
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="OVERLAY">
            <FontString name="MirroredFontString" inherits="GameFontNormal" text="Mirror Texure" justifyH="LEFT">
              <Size>
                <AbsDimension x="100" y="24"/>                
              </Size>
              <Anchors>
                <Anchor point="LEFT" relativePoint="RIGHT">
                  <Offset x="0" y="3" />
                </Anchor>
              </Anchors>
            </FontString>
            <Texture name="ExampleTextureBackground">
              <Size>
                <AbsDimension x="64" y="64"/>
              </Size>
              <Anchors>
                <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="MirroredFontString">
                  <Offset x="10" y="0" />
                </Anchor>
              </Anchors>
              <Color a="1.0" r="1.0" g="1.0" b="1.0"/>
              <Gradient orientation="VERTICAL">
                <MinColor a="1.0" r="0.0" g="0.0" b="0.0" />
                <MaxColor a="0.0" r="1.0" g="0.0" b="0.0" />
              </Gradient>
            </Texture>
            <Texture name="ExampleTexture" file="Interface\PVP-Banner-Emblem-1" alphaMode="ADD">
              <Size>
                <AbsDimension x="64" y="64"/>
              </Size>
              <Anchors>
                <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="MirroredFontString">
                  <Offset x="10" y="0" />
                </Anchor>
              </Anchors>
              <!--<TexCoords left="0" top="0" bottom ="1" right ="1"/>-->
            </Texture>
          </Layer>
        </Layers>
        <Scripts>
          <OnClick>
            MirroredCheckButton_Click(self)
          </OnClick>
        </Scripts>
      </CheckButton>
    </Frames>
    <Scripts>
      <OnLoad>
        AOSSControlsTextures_OnLoad(self)
      </OnLoad>
    </Scripts>
  </Frame>
</Ui>